import request from '@/utils/request'

// 快递寄付申请分页
export function getList(params) {
  return request({
    url: '/courierSendApplication/list',
    method: 'POST',
    params
  })
}

// 快递寄付申请添加
export function addSendApplication(data) {
  return request({
    url: '/courierSendApplication/add',
    method: 'POST',
    data
  })
}

// 快递寄付申请修改 删除
export function updateSendApplication(data) {
  return request({
    url: '/courierSendApplication/update',
    method: 'post',
    data
  })
}

// 快递寄付申请单条查询
export function selectSendApplication(params) {
  return request({
    url: '/courierSendApplication/load',
    method: 'POST',
    params
  })
}

// 查所有人
export function selectOperator(params) {
  return request({
    url: '/employee/personnelInfoOther',
    method: 'post',
    params
  })
}
